package com.syni.mdd.yhd.common.all.controller.protect.platformGood;

/**
 * @className BmsBusinessController
 * @description 获取用户评论
 * @Author cfx
 * @DATE 2019/4/15 14:25
 * @VERSION 1.0
 **/

import com.syni.mdd.sjb.common.component.utils.common.annotations.CheckParams;
import com.syni.mdd.yhd.common.all.service.BmsDxCommentService;
import com.syni.mdd.yhd.common.all.service.platformGoods.BmsPlatformGoodService;
import com.syni.mdd.yhd.common.all.utils.ParamData;
import com.syni.mdd.sjb.common.component.utils.common.utils.ParamsMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/platformGood")
public class BmsPlatformGoodController {
    @Autowired
    BmsPlatformGoodService bmsPlatformGoodService;

    @PostMapping("/getMasksGood")
    @CheckParams
    public Map<String,Object> getMasksGood(@RequestBody ParamsMap paramsMap){
        return bmsPlatformGoodService.getMasksGood(paramsMap);
    }

}
